Optimal. Leaf size=58 \[ -\frac {\left (\frac {b x^3}{a}+1\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (-\frac {1}{3},-2 p;\frac {2}{3};-\frac {b x^3}{a}\right )}{x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.02, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {1356, 364} \[ -\frac {\left (\frac {b x^3}{a}+1\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (-\frac {1}{3},-2 p;\frac {2}{3};-\frac {b x^3}{a}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 364
Rule 1356
Rubi steps
\begin {align*} \int \frac {\left (a^2+2 a b x^3+b^2 x^6\right )^p}{x^2} \, dx &=\left (\left (1+\frac {b x^3}{a}\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p\right ) \int \frac {\left (1+\frac {b x^3}{a}\right )^{2 p}}{x^2} \, dx\\ &=-\frac {\left (1+\frac {b x^3}{a}\right )^{-2 p} \left (a^2+2 a b x^3+b^2 x^6\right )^p \, _2F_1\left (-\frac {1}{3},-2 p;\frac {2}{3};-\frac {b x^3}{a}\right )}{x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 49, normalized size = 0.84 \[ -\frac {\left (\left (a+b x^3\right )^2\right )^p \left (\frac {b x^3}{a}+1\right )^{-2 p} \, _2F_1\left (-\frac {1}{3},-2 p;\frac {2}{3};-\frac {b x^3}{a}\right )}{x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.81, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{x^{2}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.04, size = 0, normalized size = 0.00 \[ \int \frac {\left (b^{2} x^{6}+2 a b \,x^{3}+a^{2}\right )^{p}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b^{2} x^{6} + 2 \, a b x^{3} + a^{2}\right )}^{p}}{x^{2}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {{\left (a^2+2\,a\,b\,x^3+b^2\,x^6\right )}^p}{x^2} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (\left (a + b x^{3}\right )^{2}\right )^{p}}{x^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________